package com.future.mvc.web.interceptor;

import com.future.mvc.web.json.entity.User;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <P>
 *
 * </p>
 *
 * @author yinhao
 * @version 1.0
 * @since 2024/9/8 16:52
 */
@Controller
public class FurnHandler {

    @RequestMapping("/hi")
    public String hi(User user) {
        System.out.println("---FurnHandler---hi()---");
        return "success";
    }

    @RequestMapping("/hello")
    public String hello() {
        System.out.println("---FurnHandler---hello()---");
        return "success";
    }

    @RequestMapping("/ok")
    public String ok() {
        System.out.println("---FurnHandler---ok()---");
        return "success";
    }
}
